package top.tony.base.controller;

import top.tonytan.entity.Result;
import top.tonytan.entity.ReturnCode;

public class BaseExceptionHandler {

    public Result error(Exception e){
        return new Result(false, ReturnCode.ERROR,e.getMessage());
    }
}
